# encoding: UTF-8

class Site::CategoryController < ApplicationController

  layout 'site'

  def show
    @archives = Topic.where("category='#{params[:id]}'").paginate(:page => params[:page], :per_page => '25')
    @category = Topic.category(params[:id])
    @categories = Topic.categories
    @newto = Manual.open_status.newto_all
    @gamedata = Level.open_status.level_guides
    @gamerole = Role.open_status.all
    @gamefeature = Feature.open_status.all
    @gameequip = Sort.open_status.equips_sorts
    set_seo_meta @category[0]+'_分类浏览_龍翔密传'
  end 

end
